package nc.ui.acm.flu.billrefflu;

import nc.itf.acm.pub.ACMBillType;
import nc.itf.acm.pub.IPrivateButton;
import nc.ui.acm.pub.bill.manage.ACMBillManageCtrl;
import nc.ui.trade.businessaction.IBusinessActionType;
import nc.ui.trade.button.IBillButton;
import nc.vo.acm.flu.billrefflu.BillRefFluBVO;
import nc.vo.acm.flu.billrefflu.BillRefFluHVO;
import nc.vo.trade.pub.HYBillVO;

public class BillRefFluCtrl extends ACMBillManageCtrl {

	@Override
	public String getBillType() {
		return ACMBillType.FLU_BILLREFFLU;
	}
	
	@Override
	public int getBusinessActionType() {
		return IBusinessActionType.BD;
	}
	
	@Override
	public String[] getBillVoName() {
		return new String[]{
				HYBillVO.class.getName(),
				BillRefFluHVO.class.getName(),
				BillRefFluBVO.class.getName()
		};
	}
	
	@Override
	public String getPkField() {
		return "pk_billrefflu_h";
	}
	
	@Override
	public String getChildPkField() {
		return "pk_billrefflu_b";
	}
	
	@Override
	public int[] getCardButtonAry() {
		return new int[]{
				IBillButton.Query,
				IBillButton.Add,
				IBillButton.Edit,
				IBillButton.Delete,
				IBillButton.Line,
				IBillButton.Save,
				IBillButton.Cancel,
				IPrivateButton.FLU_SHOWFLU,
				IBillButton.Return,
				IBillButton.Refresh
		};
	}
	
	@Override
	public int[] getListButtonAry() {
		return new int[]{
				IBillButton.Query,
				IBillButton.Add,
				IBillButton.Edit,
				IBillButton.Delete,
				IBillButton.Line,
				IBillButton.Save,
				IBillButton.Cancel,
				IPrivateButton.FLU_SHOWFLU,
				IBillButton.Card,
				IBillButton.Refresh
		};
	}
	
	@Override
	public boolean isExistBillStatus() {
		return false;
	}
	
}
